package com.example.demo.mapper;

import java.util.List;
import java.util.Map;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.demo.entity.CacheRepositoryEntity;

/**
 * 
 * @author Administrator
 *
 */
public interface ICacheRepositoryMapper extends BaseMapper<CacheRepositoryEntity>{

	List<Map<String,Object>> selectCacheList(Map<String,Object> whereMap);
	
	CacheRepositoryEntity selectCache(Map<String,Object> paramsMap);
	
	Integer getCacheCounts(Map<String,Object> paramsMap);
	
	void addCache(CacheRepositoryEntity entity);
	
	void updateCache(CacheRepositoryEntity entity);
	
	void deleteCache(Map<String,Object> paramsMap);
	
	void clearCache();
	
}
